package cn.ggcms.cms.biz;

import java.util.List;

import cn.ggcms.cms.dao.AritcleDao;
import cn.ggcms.cms.vo.Aritcle;

public class AritcleBiz implements AritcleDao {

	private AritcleDao aritcleDao  ;
	
	public void setAritcleDao(AritcleDao aritcleDao) {
		this.aritcleDao = aritcleDao;
	}

	public boolean doDeleteAritcleById(int id) {
		return this.aritcleDao.doDeleteAritcleById(id);
	}

	public boolean doInsertAritcle(Aritcle aritcle) {
		return this.aritcleDao.doInsertAritcle(aritcle);
	}

	public Aritcle finAritcleById(int id) {
		return this.aritcleDao.finAritcleById(id);
	}

	public List<Aritcle> finAritcles() {
		return this.aritcleDao.finAritcles();
	}

	public Aritcle findAritcle(Aritcle aritcle) {
		return this.aritcleDao.findAritcle(aritcle);
	}
	
}
